package org.zjut.bean;

import java.util.List;

/**
 * @author Rising
 * @date 2017/9/2
 * @des
 */
public class Resource {
    String code;
    String name;
    List<AttrInfo> attrInfo;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<AttrInfo> getAttrInfo() {
        return attrInfo;
    }

    public void setAttrInfo(List<AttrInfo> attrInfo) {
        this.attrInfo = attrInfo;
    }

    class AttrInfo{
        String attrCode;
        String attrName;
        String attrValue;
        String attrType;

        public String getAttrCode() {
            return attrCode;
        }

        public void setAttrCode(String attrCode) {
            this.attrCode = attrCode;
        }

        public String getAttrName() {
            return attrName;
        }

        public void setAttrName(String attrName) {
            this.attrName = attrName;
        }

        public String getAttrValue() {
            return attrValue;
        }

        public void setAttrValue(String attrValue) {
            this.attrValue = attrValue;
        }

        public String getAttrType() {
            return attrType;
        }

        public void setAttrType(String attrType) {
            this.attrType = attrType;
        }
    }
}
